<template>
  <div class="banben">
    <div class="top111">
      <img @click="fanhui" src="../assets/总图标包含整个系统的/fanhui.png" />
      <span>版本信息</span>
      <img
        class="aaaa"
        src="../assets/总图标包含整个系统的/fanhuishouye.png"
        @click="fanhuish"
      />
    </div>
    <div class="box">
      <van-field
        input-align="right"
        v-model="value1"
        label="当前版本"
        placeholder="请输入用户名"
      />
    </div>
    <div class="box_b">
      <p>版本信息</p>
      <input v-model="value2" />
    </div>
  </div>
</template>
 
<script>
import { GetPBamListApi } from "../request/aip";
export default {
  data() {
    return {
      value1: "",
      value2: "",
    };
  },
  created() {
    GetPBamListApi().then((res) => {
      //   console.log(res);
      this.value1 = res.data.versions;
      this.value2 = res.data.infomation;
    });
  },
  methods: {
    fanhui() {
      this.$router.go(-1);
    },
    fanhuish() {
      this.$router.push("/index");
    },
  },
};
</script>
 
<style lang = "less" scoped>
.banben {
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  overflow: hidden;
  .box {
    margin-bottom: 10px;
  }
  .box_b {
    padding: 10px;
    background-color: #fff;
    p {
      margin-bottom: 10px;
    }
    input {
      border: none;
      color: #ccc;
      font-size: 14px;
    }
  }
}
.top111 {
  background-color: #023293;
  display: flex;
  justify-content: space-between;
  color: #fff;
  align-items: center;
  padding: 10px;
  img {
    width: 10px;
  }
  .aaaa {
    width: 20px;
  }
}
</style>